package com.nq.service;


import com.github.pagehelper.PageInfo;
import com.nq.common.ServerResponse;
import com.nq.pojo.UserRecharge;
import com.nq.pojo.vo.UserRechargeVo;

import java.math.BigDecimal;
import java.util.List;
import javax.servlet.http.HttpServletRequest;

public interface IUserRechargeService {
  ServerResponse checkInMoney(int paramInt, Integer paramInteger);
  
  ServerResponse inMoney(String paramString1, String paramString2, Integer payId, String file, HttpServletRequest paramHttpServletRequest);
  
  ServerResponse findUserRechargeByOrderSn(String paramString);
  
  ServerResponse chargeSuccess(UserRecharge paramUserRecharge) throws Exception;
  
  ServerResponse chargeFail(UserRecharge paramUserRecharge) throws Exception;
  
  ServerResponse chargeCancel(UserRecharge paramUserRecharge) throws Exception;
  
  ServerResponse<PageInfo> findUserChargeList(String paramString1, String paramString2, String orderSn, HttpServletRequest paramHttpServletRequest, int paramInt1, int paramInt2);
  
  ServerResponse<PageInfo> listByAgent(Integer paramInteger1, String paramString1, String paramString2, Integer paramInteger2, HttpServletRequest paramHttpServletRequest, int paramInt1, int paramInt2);
  
  
  ServerResponse updateState(Integer paramInteger1, String paySn, Integer paramInteger2) throws Exception;
  
  ServerResponse createOrder(Integer paramInteger1, Integer paramInteger2, Integer paramInteger3, String paramString, String file);
  
  ServerResponse del(Integer paramInteger);
  
  int deleteByUserId(Integer paramInteger);
  
  BigDecimal CountChargeSumAmt(Integer paramInteger);

  BigDecimal CountTotalRechargeAmountByTime(Integer paramInteger);

  List<UserRechargeVo> exportByAdmin(String accountType, Integer agentId, String startAmount, String orderSn, Integer userId, String userPhone, String realName, Integer state, Integer payChannel, String beginTime, String endTime, HttpServletRequest request);

  ServerResponse updateRecharge(Integer id, Integer payAmt, String addTime, String payTime);

  ServerResponse<PageInfo> listByAdmin(String accountType, Integer agentId, String startAmount, String orderSn, Integer userId, String userPhone, String realName, Integer state, Integer payChannel, String beginTime, String endTime, HttpServletRequest request, int pageNum, int pageSize);
}
